package cn.itsource.course.service;

import cn.itsource.course.doc.CourseDoc;
import cn.itsource.course.domain.Course;
import cn.itsource.course.dto.CourseDTO;
import cn.itsource.course.query.CourseQuery;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zd
 * @since 2020-02-18
 */
public interface ICourseService extends IService<Course> {

    void saveOrUpdate(CourseDTO courseDTO);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    List<CourseDoc> queryCourses(CourseQuery courseQuery);
}
